import 'package:hive/hive.dart';

part 'family_info.g.dart';

@HiveType(typeId: 0)
class FamilyInfo extends HiveObject{

  @HiveField(0)
  final String userName;

  @HiveField(1)
  final String gender;

  @HiveField(2)
  final String age;

  @HiveField(3)
  final String weight;

  @HiveField(4)
  final String idType;

  @HiveField(5)
  final String idCard;

  FamilyInfo({
      required this.userName,
      required this.gender,
      required this.age,
      required this.weight,
      required this.idType,
      required this.idCard
  });

}
